package com.zuozhj.controller.PaymentService;

import org.springframework.stereotype.Component;

import com.zuozhj.enums.paymentEnums;

@Component
@SupporType(paymentEnums.ALIPAY) // 支持支付宝支付
public class Zhifubao implements PaymentService {

    @Override
    public String pay() {
        System.out.println("支付宝支付成功");
       return paymentEnums.ALIPAY.getDescription() + "支付成功";
    }
    
}
